package com.sunny.design.chain.auth.builderchain;

import com.sunny.design.chain.auth.Member;

/**
 * @author Sunny
 * @date 2020/3/15
 */
public class LoginHandler extends Handler {

    @Override
    public void doHandler(Member member) {
        System.out.println("登录成功！");
        member.setRoleName("管理员");
        next.doHandler(member);
    }
}

